package io.hxci.modules.edu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 班级表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "edu_class")
public class EduClass {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 班级名称
     */
    @TableField(value = "bname")
    private String bname;

    /**
     * 人数
     */
    @TableField(value = "renshu")
    private Integer renshu;

    /**
     * 所属专业id
     */
    @TableField(value = "dept_id")
    private Long deptId;

    /**
     * 是否删除(0)
     */
    @TableField(value = "del_flag")
    private Integer delFlag;


    @TableField(value = "headmaster")
    private Long headmaster;

    @TableField(value = "guide")
    private Long guide;

    @TableField(exist = false)
    private String dname;
    @TableField(exist = false)
    private String hname;
}